package com.hxzy.system.domain.dto;

import com.hxzy.common.annotation.Excel;
import com.hxzy.common.core.domain.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 操作日志
 */
@ApiModel(value = "操作日志")
@Getter
@Setter
public class SysOperLogSearchDTO extends PageDomain {


    @ApiModelProperty(value = "操作模块")
    private String title;


    @ApiModelProperty(value = "业务类型(0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据)")
    private Integer businessType;


    @ApiModelProperty(value = "操作人员")
    private String operName;


    @ApiModelProperty(value = "操作状态（0正常 1异常）")
    private Integer status;

    @ApiModelProperty(value = "创建开始时间，格式yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @ApiModelProperty(value = "创建结束时间，格式yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
